
from django.contrib import admin
from django.urls import path
from UserApp.views import *
from UserApp.edu_user import *
urlpatterns = [
    path('admin/', admin.site.urls),
    path('reg/',RegisteredView.as_view()),
    path('login/',LoginView.as_view()),
    path('user/',UserView.as_view()),
    path('showuser/',ShowUserView.as_view()),
    path('ctest/',ctest),
    path('upuser/', UpdateUserName.as_view()),
    path('getjob/',GetJob.as_view()),
    path('queue/',QueueRedis.as_view()),
    path('updateusername/',Celery_username.as_view()),
    path('qwer/',Mymiddle.as_view()),


    #三方登录
    #github登录
    path('gitee/',Gitee.as_view()),
    path('gitee_back/',GiteeBack.as_view()),


    #钉钉登录

    path('ding/', ding_url),
    path('ding_back/',ding_back),
    # path('ding_login/',Ding_Login.as_view()),

    #权限系统
    path('access_add/', AccessAddAPI.as_view()),
    path('access_even/', AccessEvenAPI.as_view()),
    path('binary/', Binary.as_view()),
    path('access/', Access.as_view()),

    path('workorder/',WorkOrderView.as_view()),
    # 下拉框
    path('smallworkorder/',Small_WorkOrderView.as_view()),
    # 获取MongoDB数据
    path('getmongo/',GetMongo.as_view())
]
